package com.theaf.core.rmq.common;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Author:songwenke
 * @Description:消息封闭
 * @Date:create in 14:45 2018/3/22
 * @Modified By:
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class MQMessage {
    private String id;
    private Object body;
    /**
     * 发送时间，存储的秒数
     */
    private long sendTime;
    /**
     * 延迟时间（秒）
     */
    private long delay;
    /**
     * 是否回调
     */
    private boolean rpced;
    private String rpcQueue;
}
